package com.wcfsy.wechat.wx.um.entity;

import java.util.Date;

import com.wcfsy.wechat.wx.entity.BaseEntity;

/**
 * 权限
 * 
 * @author yiqiang
 *
 */
public class Permission extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	private String code;
	private String parentCode;
	private long parentPermisId;
	private String remark;
	private Integer createId;
	private Date createDate;
	private Integer updateId;
	private Date updateDate;

	public Permission() {
	}

	public Permission(String name, String code, long parentPermisId,
			String remark) {
		this.name = name;
		this.code = code;
		this.parentPermisId = parentPermisId;
		this.remark = remark;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public long getParentPermisId() {
		return this.parentPermisId;
	}

	public void setParentPermisId(long parentPermisId) {
		this.parentPermisId = parentPermisId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getCreateId() {
		return this.createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getUpdateId() {
		return this.updateId;
	}

	public void setUpdateId(Integer updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateDate() {
		return this.updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getParentCode() {
		return this.parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}
}